package com.cxb.springboot.domin;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * @Classname AntiMoney
 * @Date 2023/5/8 22:58
 * @Created by Administrator
 * @Description TODO
 */
@Data
public class AntiMoneyDetail {

    @JsonProperty("phone")
    private String phone;

    @JsonProperty("ip")
    private String ip;

    @JsonProperty("mac")
    private String mac;

    @JsonProperty("ver")
    private String ver;

    @JsonProperty("rsv")
    private String rsv;

    @JsonProperty("device")
    private Device device;

    @JsonProperty("ext")
    private Ext ext;

    @Data
    public static class Device {
        @JsonProperty("type")
        private String type;

        @JsonProperty("info")
        private Info info;
    }

    @Data
    public static class Info {
        @JsonProperty("BranchNO")
        private String branchNO;

        @JsonProperty("TerminalNO")
        private String terminalNO;
    }

    @Data
    public static class Ext {
        @JsonProperty("serviceUnit")
        private String serviceUnit;
    }

}
